package com.design.decorate;

/**
 * 装饰抽像
 *
 * @author Zee
 * @version 1.0
 * @date 2021/8/30
 */

public abstract class ShapeDecorate implements Shape {
    protected Shape shape;

    public ShapeDecorate(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }
}
